<!DOCTYPE html>
{% load staticfiles %}
<html>
<head lang="en">
    <meta charset="UTF-8">
     <!-- 引入jQuery -->
    <script src="{% static 'bootstrap/js/jquery-3.2.1.min.js' %}"></script>
    <script src="http://apps.bdimg.com/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
     <!-- 引入 Bootstrap -->
     <link href="{% static 'bootstrap/css/bootstrap.min.css' %}" rel="stylesheet" type="text/css">
     <link href="{% static 'bootstrap/css/bootstrap.css' %}" rel="stylesheet" type="text/css">
     <script type="text/javascript" src="{% static 'bootstrap/js/bootstrap.min.js' %}"></script>
     <script type="text/javascript" src="{% static 'bootstrap/js/bootstrap.js' %}"></script>
	<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
     <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
    <title>{{username}}_论坛首页</title>
</head>
<body>
<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<nav class="navbar navbar-default" role="navigation">
				<div class="navbar-header">
					 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                         <span class="sr-only">Toggle navigation</span>
                         <span class="icon-bar"></span>
                         <span class="icon-bar"></span>
                         <span class="icon-bar"></span>
                     </button>
                    <a class="navbar-brand" href="#">首页</a>
				</div>

				<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
					<ul class="nav navbar-nav">
						<li class="active">
							 <a href="#">论坛</a>
						</li>
						<li>
							 <a href="#">版块</a>
						</li>
						<li class="dropdown">
							 <a href="#" class="dropdown-toggle" data-toggle="dropdown">精品贴<strong class="caret"></strong></a>
							<ul class="dropdown-menu">
								<li>
									 <a href="#">搞笑</a>
								</li>
{#								<li>#}
{#									 <a href="#">搞怪</a>#}
{#								</li>#}
{#								<li>#}
{#									 <a href="#">搞扯</a>#}
{#								</li>#}
								<li class="divider">
								</li>
								<li>
									 <a href="#">听书</a>
								</li>
								<li class="divider">
								</li>
								<li>
									 <a href="#">Music</a>
								</li>
							</ul>
						</li>
					</ul>
					<form class="navbar-form navbar-left" role="search">
						<div class="form-group">
							<input type="text" class="form-control" />
						</div> <button type="submit" class="btn btn-default">收索</button>
					</form>
					<ul class="nav navbar-nav navbar-right">
                        <li>
							 <a href="#">签到</a>
						</li>
						<li class="dropdown">
							 <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{username}}<strong class="caret"></strong></a>
							<ul class="dropdown-menu">
                                <li class="divider">
								</li>
								<li>
									 <a href="javascript:void(0)" onclick="showinformation()">个人设置</a>
								</li>
                                <li class="divider">
								</li>
								<li>
									 <a href="#">头像设置</a>
								</li>
                                <li class="divider">
								</li>
								<li>
									 <a href="/login">注销</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>
			</nav>
			<ul class="breadcrumb">
				<li>
					 <a href="#">首页</a>
				</li>
                <li>
					 <a href="#">论坛</a>
				</li>
			</ul>
            <div class="media">
				 <a href="#" >#有奖调研#EMUI为您的手机安全保驾护航</a>
				<div class="media-body">
                    <small>
                        【EMUI5.0&5.1讨论】
                        <em> 于
                            <span title="2017-8-16">
                                7&nbsp;天前
                            </span>
                            最后回复
                            <span>
                                <span title="2017-8-23 22:43">
                                    3&nbsp;分钟前
                                </span>
                            </span>
                        </em>
                    </small>
				</div>
			</div>
			<ul class="pagination">
				<li>
					 <a href="#">上一页</a>
				</li>
				<li>
					 <a href="#">下一页</a>
				</li>
			</ul>
		</div>
	</div>
</div>
<div id="zz" style="display:none;width: 100%;height: 100%;position:absolute;top:0px">
</div>
<div style="display: none;position: absolute;top:30%;left: 35%" id="information">
    {% include "home/information.html" %}
</div>
</body>
<script>
    function showinformation() {
        $("#zz").css("display","block");
        document.getElementById("information").style.display="block";
        return false
    }
</script>
</html>